*"Entropy weights"*

ssc install ebalance

ebalance treatment newsint pid7 ideo5 White age male education i.RELTRAD South

rename _webal entropy_weight_full

ebalance treatment newsint pid7 ideo5 White age male education South if RELTRAD==1
 
rename _webal entropy_weight_Mainline 
 
ebalance treatment newsint pid7 ideo5 White age male education South if RELTRAD==2
 
rename _webal entropy_weight_Evangelical  
 
ebalance treatment newsint pid7 ideo5 White age male education South if RELTRAD==3
 
rename _webal entropy_weight_Catholic   
 
ebalance treatment newsint pid7 ideo5 White age male education South if RELTRAD==4
 
rename _webal entropy_weight_Other_Christian    
 
ebalance treatment newsint pid7 ideo5 White age male education South if RELTRAD==5
 
rename _webal entropy_weight_Non_Christian    
 
ebalance treatment newsint pid7 ideo5 White age male education South if RELTRAD==6
 
rename _webal entropy_weight_Unaffiliated    

ebalance treatment newsint ideo5 White age male education i.RELTRAD South if pid3==1

rename _webal entropy_weight_Dem

ebalance treatment newsint ideo5 White age male education i.RELTRAD South if pid3==2

rename _webal entropy_weight_Ind

ebalance treatment newsint ideo5 White age male education i.RELTRAD South if pid3==3

rename _webal entropy_weight_Rep

*"Primary regression outputs"*

*"Output for Figure 2"*

probit LGBT_fav_binary treatment newsint pid7 ideo5 White age male education i.RELTRAD South [pweight = entropy_weight_full]

*"Output for Figure 3"*

probit LGBT_fav_binary treatment pid7 newsint ideo5 White age male education South [pweight = entropy_weight_Mainline]

probit LGBT_fav_binary treatment pid7 newsint ideo5 White age male education South [pweight = entropy_weight_Evangelical]

probit LGBT_fav_binary treatment pid7 newsint ideo5 White age male education South [pweight = entropy_weight_Catholic]

probit LGBT_fav_binary treatment pid7 newsint ideo5 White age male education South [pweight = entropy_weight_Other_Christian]

probit LGBT_fav_binary treatment pid7 newsint ideo5 White age male education South [pweight = entropy_weight_Non_Christian]

*"Output for Figure 4"*

probit LGBT_fav_binary treatment newsint ideo5 White age male education i.RELTRAD South [pweight = entropy_weight_Dem]

probit LGBT_fav_binary treatment newsint ideo5 White age male education i.RELTRAD South [pweight = entropy_weight_Ind]

probit LGBT_fav_binary treatment newsint ideo5 White age male education i.RELTRAD South [pweight = entropy_weight_Rep]
